import { Component, OnInit } from '@angular/core';
import { NavParams } from '@ionic/angular';
@Component({
  selector: 'app-testmodel',
  templateUrl: './testmodel.component.html',
  styleUrls: ['./testmodel.component.scss'],
})
export class TestmodelComponent implements OnInit {

  constructor(public navParams: NavParams) { }

  ngOnInit() { }
  closeModel() {
    this.navParams.data.modal.dismiss({
      'result': '消失的时候返回的内容'
    });
  }
}
